package com.jishuo.nontax.bean.vo;

import com.jishuo.base.util.StringObject;
import com.jishuo.nontax.bean.message.SetBankStationDTO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;



/**
 * 
 * 
 * @author hlp
 * @email 1459875748@qq.com
 * @date 2023-02-02 10:13:13
 */
@Data
public class BankStationVO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//网点ID
	private Long bankstationid;
	//网点编码
	private String bankstationcode;
	//网点名称
	private String bankstationname;
	//区划ID
	private Long cantonid;
	//是否启用
	private Integer isenable;
	//银行集合
	private String bankid;
    private String cantoncode;
    private String cantonname;


    public SetBankStationDTO getSetBankStationDTO(){
        SetBankStationDTO bean= new SetBankStationDTO();
        bean.setCantonid(StringObject.objectString(this.cantonid));
        bean.setBankcode(this.bankstationcode);
        bean.setBankname(this.bankstationname);
        if(this.isenable!=null){
            if(this.isenable==1){
                bean.setOperate("1");
            }else{
                bean.setOperate("3");
            }
        }

        return bean;
    }

}
